package com.lyl.security.module.security.model.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Mr.Luo
 * @date 2022-09-05 10:10
 * @desc SpringSecurity自定义配置类
 */
@Data
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    /**
     * 排除的urls
     */
    private String[] excludeUrls;
    /**
     * token相关
     */
    private Token token;

    @Data
    public static class Token{
        /**
         * token私钥
         */
        private String privateKey;
    }
}
